<template>

	<scroll-view :scroll-x="true" style="white-space: nowrap;">
		<view class="project">
			<view class="box1">
				<view class="section_1">
					<text class="u-font-28 name">拆迁工程</text>
					<text class="u-font-10 time">5个工作日</text>
				</view>
				<text class="u-font-10">结束时间22/10/12</text>
				<!-- <view class="line1"> -->
					<view class="circle u-m-t-40" >
						<text  class="process" >70%</text>
					</view>
				<!-- </view> -->
			
			</view>
			<view class="box2">
				<view class="section_2">
					<text class="u-font-28 name2">拆迁工程</text>
					<text class="u-font-10 time">5个工作日</text>
				</view>
				<text class="u-font-10">结束时间22/10/12</text>
			
					<view class="circle u-m-b-40" >
						<text  class="process" >70%</text>
				
				</view>
				
			</view>
			
		</view>
	</scroll-view>

</template>

<script>
	export default {
		name: "shop-project",
		props: {
			list: {
				type: Array,
				default: function() {
					return [];
				}
			},
			processName:{
				type:String,
				default:'constructionPlanName'
			},
			day:{
				
				type:String,
				default:'constructionDuration'
			},
			endTime:{
				type:String,
				default:'constructionEndTime'
			}
		},
		data() {
			return {

			};
		}
	}
</script>

<style lang="scss">
	.project{
		height: 320rpx;
		padding: 30rpx;
		display: flex;
	}
.section_1{
	background: url($IMG_URL+'current.png');
	background-repeat: no-repeat;
	width: 156rpx;
	height: 92rpx;
	background-size: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;

}
.section_2{
	background: url($IMG_URL+'default.png');
	background-repeat: no-repeat;
	width: 156rpx;
	height: 92rpx;
	background-size: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;

}
.box1{
	width: 240rpx;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;

}
.box2{
	width: 240rpx;
	height: 100%;
	display: flex;
	flex-direction: column-reverse;
	align-items: center;
	position: relative;

}
.circle{
	width: 52rpx;
	height: 30rpx;
	line-height: 30rpx;
	background: #09C7F4;
	box-shadow: 0 0 8rpx 2rpx rgba(12,199,244,0.3);
	border-radius: 13rpx 13rpx 13rpx 13rpx;
	opacity: 1;
   text-align: center;
	// position: absolute;
	// bottom: -15rpx;
}
.process{
	font-size: 3px;
}
.line1{
	margin-top: 30rpx;
	height: 8rpx;
	background: linear-gradient(90deg, #9AE8FD 0%, #12C1F0 100%);
	width:100%;
	opacity: 1;
	position: relative;
}
.line2{
	margin-top: 30rpx;
	height: 8rpx;
	background: linear-gradient(90deg, #69E3C0 0%, #0BC892 100%);
	width:100%;
	opacity: 1;
	position: relative;
}

.name{
	color:#FFFFFF ;
	font-weight: bold;

	letter-spacing: 6rpx;
}
.name2{
	color:#FFFFFF ;
	font-weight: bold;

	letter-spacing: 6rpx;
	margin-top: 14rpx;
}
.time{
	font-weight: 500;
	color: #FFFFFF;
	font-size: 20rpx;
	letter-spacing: 6rpx;
}
</style>
